/**
 * Created by Luo on 2018/5/25.
 */
import { SET_VISIBILITY_FILTER } from '../actions';
export default function visibilityFilter (state='SHOW_ALL', action) {
switch (action.type) {
  case SET_VISIBILITY_FILTER:
    return action.filter;
  default:
    return state;
}
}
